package com.zyd.shiro.persistence.beans;

import com.zyd.shiro.business.annotation.FieldValue;
import com.zyd.shiro.business.annotation.TitleValue;
import com.zyd.shiro.business.enums.MenuEnum;
import com.zyd.shiro.framework.object.AbstractDataDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author jobob
 * @since 2020-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TitleValue(name = "退库",nume = MenuEnum.MODULE,code = "withdrawal")
public class PakWithdrawal extends AbstractDataDO {

    @FieldValue(name = "编号")
    private String unicode;

    @FieldValue(name = "退库时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date withdrawalTime;

    @FieldValue(name = "处理人")
    private Long handle;

    @FieldValue(name = "备注")
    private String remark;

    @FieldValue(name = "退库状态")//0审批中 1审批通过 2撤销
    private Integer witstatus;

    @FieldValue(name = "审批状态")//0初始状态 1已入库 2待入库
    private Integer appstatus;

}
